#define _CRT_SECURE_NO_WARNINGS
#include <iostream>
using namespace std;

//int main()
//{
//	int a = 0;
//	int b = 0;
//	printf("%d\n", a || b + ++a && b);
//	return 0;
//}

class Date
{
public:
	Date(int year = 1,int month = 1,int day = 1)
	{
		_year = year;
		_month = month;
		_day = day;
	}

	Date(Date& d)
	{
		_year = d._year;
		_month = d._month;
		_day = d._day;
	}

private:
	int _year;
	int _month;
	int _day;
};

int main()
{
	Date d1(2003, 4, 7);
	Date d2(d1);
	return 0;
}